# -*- coding: utf-8 -*-
from utiles.read_config import rc

class BaseConfig:
    # 基础配置信息
    DEBUG = True
    SECRET_KEY = "qwertyuiopasdfghjklzxcvbnm"
#     host = rc.config_value("DB", "HOST")
#     port = int(rc.config_value("DB", "PORT"))
#     username = rc.config_value("DB", "USERNAME")
#     password = rc.config_value("DB", "PASSWORD")
#     db_name = rc.config_value("DB", "NAME")

#     SQLALCHEMY_DATABASE_URI = f"mysql+pymysql://{username}:{password}@{host}:{port}/{db_name}"
#     SQLALCHEMY_TRACK_MODIFICATIONS = False


class DevelopmentConfig(BaseConfig):
    # 开发环境配置信息
    ...

class TestConfig(BaseConfig):
    # 测试环境配置信息
    ...

class ProductionConfig(BaseConfig):
    # 生产环境配置信息
    ...
